package cn.aresoft.model;

import java.util.Date;

import javax.persistence.*;

/**
 * BasicRoleInfo entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="basic_role_info")
public class BasicRoleInfo implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = -6611267526346915121L;
	private int roleId;
	private String roleName;
	private String description;
	private int status;
	private Date createDate;
	private Date updateDate;

	// Constructors

	/** default constructor */
	public BasicRoleInfo() {
	}

	/** full constructor */
	public BasicRoleInfo(String roleName, String description,
			int status, Date createDate, Date updateDate) {
		this.roleName = roleName;
		this.description = description;
		this.status = status;
		this.createDate = createDate;
		this.updateDate = updateDate;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	public int getRoleId() {
		return this.roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return this.updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

}